package edu.pku.sei.act.classGenerator;

public class NameGenerator {
	public static String DEAMON = "deamon";
	public static String ACTIVE = "active";
	public static String PASSIVE = "passive";
	public static String genRolePackageName(String roleName)
	{
		return roleName.toLowerCase();
	}
	public static String genTaskPackageName(String taskName)
	{
		return taskName.toLowerCase();
	}
	public static String genRoleName(String roleName)
	{
		return "_" + roleName.toUpperCase();
	}
	public static String genTransitionName(String transName)
	{
		return "_" + transName.toUpperCase();
	}
	public static String genInitTransitionName(String name)
	{
		return "_" + name.toUpperCase();
	}
	public static String genStateName(String stateName)
	{
		return stateName.toUpperCase();
	}
	public static String genTaskName(String taskName)
	{
		return taskName;
	}
	public static String genCapabilityName(String capName)
	{
		return capName.toUpperCase();
	}	
	public static String genAbilityOutputName(String capName)
	{
		return capName.toUpperCase()+"_OUTPUT";
	}
	public static String genCapabilityDescriptionName(String capName)
	{
		return "_" + genCapabilityName(capName);
	}
	public static String genCapabilityTypeName(String type)
	{
		return type.toLowerCase();
	}
	public static String genTaskMessageName(String msgName)
	{
		return msgName.toUpperCase();
	}
	public static String genTaskProcessorName(String taskName)
	{
		return "taskProcessor";
	}
	public static String genTaskUIName(String taskName)
	{
		return taskName.toUpperCase();
	}
	public static String genTransitionTypeName(String type)
	{
		return type;
	}
}
